Clearsite\Plugins\OGImage\Plugin D

Total Complexity 369
Dependencies 4
Dependents 4
Total lines 2,228
Lines of code 1,613
Logical lines of code 829
Comment lines 289
Methods 65
Properties 6

Methods 65

Method Rating Maintainability Complexity Lines of code
__construct()
D
26
37 141
expand_text_options()
D
34 34 80
field_list()
D
19
16 342
expand_logo_options()
C
37 25 70
evaluate_positions()
A
50 15 27
font_rendering_tweaks()
A
34 6 120
image_fallback_chain()
A
49 12 27
scrape_title_data()
A
46 11 34
admin_bar()
A
44 10 42
_init()
A
41 9 57
get_purgable_cache()
A
45 10 40
log()
A
45 9 35
text_fallback_chain()
A
49 9 32
purge_cache()
A
53 8 24
wp_get_attachment_image_data()
A
49 7 31
download_font()
S
48 7 30
no_output_buffers()
S
60 7 12
file_put_contents()
S
60 7 12
output_filename()
S
56 6 18
maybe_fake_support_webp()
S
56 6 18
get_valid_POST_keys()
S
58 6 16
setup_defaults()
S
48 5 30
validate_text_options()
S
53 5 20
convert_webp_to_png()
S
54 5 20
patch_wpseo_head()
S
55 5 19
on_activation()
S
60 5 12
on_deactivation()
S
61 5 12
evaluate_font_weight()
S
60 4 14
font_rendering_tweaks_for()
S
60 4 13
go_for_id()
S
64 4 8
overrule_og_image()
S
62 4 9
font_filename()
S
66 4 7
hex_to_rgba()
S
59 3 13
storage()
S
60 3 12
get_font_list()
S
62 3 12
rmdir()
S
63 3 11
title_format()
S
61 3 11
evaluate_horizontal()
S
65 3 8
late_head()
S
67 3 9
evaluate_vertical()
S
65 3 8
get_management_permission()
S
68 3 7
rgba_to_hex()
S
59 2 13
dummy_data()
S
68 2 7
protect_dir()
S
72 2 5
icon()
S
63 2 9
unlink()
S
67 2 8
display_log()
S
64 2 9
get_og_image_url()
S
77 2 3
get_version()
S
66 2 8
evaluate_font_style()
S
68 2 7
getInstance()
S
70 2 7
init()
S
66 2 8
position_grid()
S
60 1 13
post_types()
S
74 1 4
scrape_title()
S
78 1 3
scrape_code()
S
78 1 3
overrule_og_type()
S
72 1 5
setting()
S
78 1 3
text_is_identical()
S
71 1 5
setError()
S
69 1 6
validate_logo_options()
S
73 1 5
get_plugin_file()
S
78 1 3
admin_bar_icon_style()
S
72 1 7
default_google_fonts()
S
68 1 7
on_uninstall()
S
89 1 2